package com.cdwh.joylife.presenter;

import android.content.Context;

import java.util.Map;

import okhttp3.MultipartBody;

/**
 * Created by admin on 2017/6/18.
 */

public class PresenterImpl extends BasePresenter  {
    public PresenterImpl(Context context, ViewInterface viewInterface) {
        super(context, viewInterface);
    }

    protected int type;

    public int getType() {
        return type;
    }

    public PresenterImpl setType(int type) {
        this.type = type;
        return this;
    }

    //------------基础接口-------------------
//    public void login(Map<String, Object> params) {
//        String msg = "正在登录...";
//        setObservable(msg, false, service.login(params), type);
//    }

}
